Skip to content

feat(template): migrate package scaffold to Zarf v1beta1 - #167

Open
du-jonathanagustin wants to merge 5 commits into
uds-packages:mainfrom
du-jonathanagustin:codex/zarf-v1beta1-template
Open

du-jonathanagustin wants to merge 5 commits into
uds-packages:mainfrom
du-jonathanagustin:codex/zarf-v1beta1-template

Conversation

@du-jonathanagustin

@du-jonathanagustin du-jonathanagustin commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Change

Migrate the generated package and reusable component to zarf.dev/v1beta1. Use typed chart sources, flavor selectors, and component imports so Zarf v1 can build the scaffold with its existing install and upgrade task entry points. Use matching v1beta1 editor schemas from Zarf main for the package and reusable component. Document UDS CLI 0.42.0 or newer and pass 0.42.0 to the reusable install and upgrade job to exercise the supported Zarf v1 release. UDS CLI 0.41.0 also linted and built the populated fixture locally.

The Zarf v1beta1 attachment includes the existing operator configuration guide in the archive so disconnected users can retrieve it. This is the v1beta1 equivalent of the documentation field in the UDS Core 1.17 package requirements.

Verification

Ran the template’s ci-setup task with UDS CLI 0.42.0 and Zarf 1.0.1. It populated the Podinfo fixture and generated its values schema. zarf dev lint passed with one warning for the tagged Podinfo fixture image. Built the ARM64 Upstream development archive and inspected its zarf.dev/v1beta1 definition. The development archive SHA-256 was 583a19de70aa8791677671e97682d515887d8b8a67255d13cf2eadd9f19918b4. The hosted Podinfo install passed on the current head, including Playwright authentication and homepage checks in Chromium and Firefox. The hosted flavor check found no tags, so it skipped the upgrade because this template repository has no released predecessor. Publication still needs verification. Hosted validation

Zarf 1.0.1 extracted the attached configuration guide and its bytes matched the build source. The control archive without the attachment yielded no guide.

Dependencies

Packages generated from this template need the upstream flavor fix once their latest tag uses v1beta1. They also need the shared pull fix to test upgrades with Zarf v1 because that version rejects an argument used by the current task. The template needs a scanner release that accepts v1beta1 before its hosted scan can pass.

Hosted scan follow-up

The initial scan reached uds-pk scan compare and rejected the v1beta1 image mapping at line 36. The job installed uds-pk v0.2.3, and the scanner in v0.3.0 still decodes only v1alpha1. The v0.3.0 parser work covered release commands and left image scanning for a follow-up. UDS Package Kit release-parser change

The draft also needs a scanner release that accepts both package APIs because bumping the UDS CLI alone cannot fix this parser. Failed scan

Separate scanner fix.

@du-jonathanagustin
du-jonathanagustin force-pushed the codex/zarf-v1beta1-template branch from 6166395 to 94fe1a1 Compare November 28, 2026 20:46
@du-jonathanagustin
du-jonathanagustin marked this pull request as ready for review December 1, 2026 19:40
@du-jonathanagustin
du-jonathanagustin requested a review from a team as a code owner December 1, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant